package com.rfs.dto;

import com.rfs.valide.ListValue;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * @author renfushuai
 * @date 2022/2/14
 */
@Data
public class TestValidDto {
    @ListValue(vals = {1,2})
    private Integer state;
    @NotBlank(message = "姓名不能为空")
    private String name;
    private Integer amount;
}
